<?php
	$bok=1;
	echo $bok;
	
	$stus=array("a","b","c");
	
	foreach ($stus as $value) {
	  echo $value;
	}

	function test(){
		return "112";
	}
	
	echo test();
	//echo var_dump($stus);
	
	echo strpos("Hello world!","world");
	
	define("x","zhangsan",true);
	
	echo x,'c';
	
	print "<h2>PHP is fun!</h2>";
	
	echo $_SERVER['PHP_SELF'];
	
	echo "<br>";
	
	echo $_SERVER['SERVER_NAME'];
	echo "<br>";
	echo $_SERVER['HTTP_HOST'];
	echo "<br>";
	echo "<br>";
	echo $_SERVER['HTTP_USER_AGENT'];
	echo "<br>";
	echo $_SERVER['SCRIPT_NAME'];
	
	foreach ($_SERVER as $value) {
	  echo $value,"<br>";
	}
	
	foreach ($_REQUEST as $value) {
	  echo $value+"<br>";
	}
	
	phpinfo();
?>